package com.edu.tool;


import com.edu.tool.util.SpringUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.ApplicationContext;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableScheduling
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class})
@EnableTransactionManagement

public class ToolApplication {

	public static void main(String[] args) {


		ApplicationContext app = SpringApplication.run(ToolApplication.class, args);

		SpringUtil.setApplicationContext(app);
	}
}
